package com.kdg;

/**
 * Created by kong on 2018/6/11.
 */
public class Animal {
    private transient String color;
    private transient String name;
    private CatTest cat;

    public Animal() {
    }

    public Animal(String color, String name, CatTest cat) {
        this.color = color;
        this.name = name;
        this.cat = cat;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CatTest getCat() {
        return cat;
    }

    public void setCat(CatTest cat) {
        this.cat = cat;
    }
}
